﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Text;

namespace JiveMessenger.Utilities
{
    public class FilteredObservableCollection<T> : ObservableCollection<T>
    {
        public FilteredObservableCollection(IEnumerable<T> col)
            : base(col)
        {

        }
        public FilteredObservableCollection(List<T> col)
            : base(col)
        {

        }
        public FilteredObservableCollection() : base() { }
        public void RefreshFilter(T changedobject)
        {
            OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, changedobject, changedobject));
        }

        
    }
}
